<h2>Booking Information</h2>




<h3>Hotel Details</h3>

<table class="aqua">
    <tr>
        <td width="80"><strong>Destination</strong></td>
        <td width="200">-</td>
        <td width="80"><strong>Resort</strong></td>
        <td width="200">-</td>
    </tr>
    <tr>
        <td><strong>Hotel</strong></td>
        <td colspan="3"><?= $hotel["extra"]["name"] ?></td>
    </tr>
    <tr>
        <td><strong>Check-in</strong></td>
        <td><?= date("l jS \of F Y", $results["arrival_date"])?></td>
        <td><strong>Rooms</strong></td>
        <td><?= $results["rooms_count"]?></td>
    </tr>
    <tr>
        <td><strong>Check-out</strong></td>
        <td><?= date("l jS \of F Y", $results["arrival_date"]+$results["nights"]*86400)?></td>
        <td><strong>Nights</strong></td>
        <td><?= $results["nights"]?></td>
    </tr>
    
    <tr>
    <td><strong>Special Requirements</strong></td>
    <td colspan="3"><?= $_SESSION['booking_details']['special_requirements'] ?></td>
    </tr>
       
<? 

$total = 0;

for($i=1; $i<=$results["rooms_count"]; $i++): 

?>    
    <tr>
    <td><strong>Room <?=$i?></strong></td>
    <td colspan="3">
    
    

<table>
    <tr>
        <td><strong>Type</strong></td>
        <td><?= $hotel["room_sets"][1]["rooms"][$room_ids[$i]]["Type"]?> (<?=$hotel["room_sets"][1]["rooms"][$room_ids[$i]]["Board"]?>)</td>
        </tr>
        <tr>
        <td><strong>Adults</strong></td>
        <td><?=$hotel["room_sets"][$i]["adults"]?></td>
        </tr>
        <tr>
        <td><strong>Children</strong></td>
        <td><?=$hotel["room_sets"][$i]["children"]?></td>
	  </tr>
</table>

</td>
</tr>

<? $total+=$hotel["room_sets"][$i]["rooms"][$room_ids[$i]]["Rate"] ?>

<? endfor ?>    
    
    
    
<tr>
<td><strong>Total price</strong></td>
<td colspan="3"><strong><?= $hotel["currency"]." ".$total ?></strong></td>
</tr>
</table>

<h3>Guest Details</h3>


<h4>Lead Guest Details</h4>

<table class="aqua">
    <tr>
        <td width="180"><strong>Name</strong></td>
        <td><?= $_SESSION['booking_details']['title']." ".$_SESSION['booking_details']['lead_first_name']." ".$_SESSION['booking_details']['lead_last_name'] ?></td>
    </tr>
</table>



<h4>Lead Guest Contact Details</h4>

<table class="aqua">
    <tr>
      <td width="180"><strong>Contact telephone</strong></td>
      <td><?= $_SESSION['booking_details']['lead_telephone'] ?></td>
	</tr>
    <tr>
      <td><strong>Email address</strong></td>
      <td><?= $_SESSION['booking_details']['lead_epost1'] ?></td>
	</tr>
</table>






<form method="post" action="payment_gate.php">

<input type="hidden" name="action" value="validate" />
<input type="button" value="&laquo; Back" />
<input type="submit" value="Purchase &raquo;" />

</form>



